<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script>
			document.write("<h1>你好</h1>")
			document.write("<p>一段文字</p>")

			document.writeln("<p>一段文字</p>")
			document.writeln("<p>一段文字</p>")
		</script>
	</body>
</html>